import request from '../utils/request';
import { productUrl, authUrl } from './setting';

export async function query(params) {
    return request(`${authUrl}/v1/user/info/`, {
        method: 'POST',
        body: {
            ...params,
        },
    });
}

export async function queryCurrent(params) {
    return request(`${authUrl}/v1/user/info/`, {
        method: 'POST',
        body: {
            ...params,
        },
    });
}
